package cj.utils;

public class Constants {

	public static String charset = "utf-8";  
	
	//返回对象
	public interface returnObj
	{
		//0:true
		public String returnFlag_true="0";
		//1:flase
		public String returnFlag_flase="1";
		//2:操作重复
		public String returnFlag_repeat="2";
		
		public interface returnCode
		{
			//A001:已存在
			public String code_1="A001";
		}
	}
	
	//门户
	public interface portal
	{
		//发布状态（0.不发布；1.发布；2.撤销）
		public interface releaseState
		{
			//0:不发布
			public int state_0=0;
			//1:发布
			public int state_1=1;
			//2:撤销
			public int state_2=2;
		}
		
		//发布状态（0.不在线；1.在线）
		public interface userState
		{
			//0:不在线
			public int state_0=0;
			//1:在线
			public int state_1=1;
		}
	} 
	
	//删除标记 0:删除 1:没删除
	public interface deleteFlag
	{
		//0:删除
		public int deleteFlag_0=0;
		//1:没删除
		public int deleteFlag_1=1;
	}
	
	/**
	 * 微信Key
	 * @author dell
	 *
	 */
	public static interface weixinkey
	{
		//AppID
		public static String AppID="wxaf929406c9caf70e";
		//AppSecret
		public static String AppSecret="9be3e738019fa3a7ddeca0a25ef7459d";
		//微信初始化请求
		public static String weixinUrl="https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=wxaf929406c9caf70e&secret=9be3e738019fa3a7ddeca0a25ef7459d";
		//获取用户增减数据（getusersummary）
		public static String getusersummary="https://api.weixin.qq.com/datacube/getusersummary?access_token=";
		//获取累计用户数据（getusercumulate）
		public static String getusercumulate="https://api.weixin.qq.com/datacube/getusercumulate?access_token=";
		
		//获取图文群发每日数据（getarticlesummary）
		public static String getarticlesummary="https://api.weixin.qq.com/datacube/getarticlesummary?access_token=";
		//获取图文群发总数据（getarticletotal）
		public static String getarticletotal="https://api.weixin.qq.com/datacube/getarticletotal?access_token=";
		//获取图文统计数据（getuserread）
		public static String getuserread="https://api.weixin.qq.com/datacube/getuserread?access_token=";
		//获取图文统计分时数据（getuserreadhour）
		public static String getuserreadhour="https://api.weixin.qq.com/datacube/getuserreadhour?access_token=";
		//获取图文分享转发数据（getusershare）
		public static String getusershare="https://api.weixin.qq.com/datacube/getusershare?access_token=";
		//获取图文分享转发分时数据（getusersharehour）
		public static String getusersharehour="https://api.weixin.qq.com/datacube/getusersharehour?access_token=";
		
		//获取消息发送概况数据（getupstreammsg）		
		public static String getupstreammsg="https://api.weixin.qq.com/datacube/getupstreammsg?access_token=";
		//获取消息分送分时数据（getupstreammsghour）		
		public static String getupstreammsghour="https://api.weixin.qq.com/datacube/getupstreammsghour?access_token=";
		//获取消息发送周数据（getupstreammsgweek）	
		public static String getupstreammsgweek="https://api.weixin.qq.com/datacube/getupstreammsgweek?access_token=";
		//获取消息发送月数据（getupstreammsgmonth）	
		public static String getupstreammsgmonth="https://api.weixin.qq.com/datacube/getupstreammsgmonth?access_token=";
		//获取消息发送分布数据（getupstreammsgdist）		
		public static String getupstreammsgdist="https://api.weixin.qq.com/datacube/getupstreammsgdist?access_token=";
		//获取消息发送分布周数据（getupstreammsgdistweek）		
		public static String getupstreammsgdistweek="https://api.weixin.qq.com/datacube/getupstreammsgdistweek?access_token=";
		//获取消息发送分布月数据（getupstreammsgdistmonth）		
		public static String getupstreammsgdistmonth="https://api.weixin.qq.com/datacube/getupstreammsgdistmonth?access_token=";
	}
	
	/**
	 * 微博Key
	 * @author dell
	 *
	 */
	public static interface weibokey
	{
		public static String access_token = "2.00x4CyIGXgnuCD54d9a461ddbltWjD";
		public static String uids = "5629316533";
		
		public static String client_ID = "2791488529";
		public static String client_SERCRET = "d52477ef4e5dc5c82d32e3a3e6374f2e";
		public static String redirect_URI = "https://www.baidu.com";
		public static String baseURL="https://api.weibo.com/2/";
		public static String accessTokenURL="https://api.weibo.com/oauth2/access_token";
		public static String authorizeURL="https://api.weibo.com/oauth2/authorize";
		public static String rmURL="https://rm.api.weibo.com/2/";
	}
	
	/**
	 * app变量
	 * @author dell
	 *
	 */
	public static interface appkey
	{
		public static interface appVisitType
			//1、下载；2、安装；3、注册；4活跃；5卸载
		{
			public static String type1="1";
			public static String  type2="2";
			public static String  type3="3";
			public static String  type4="4";
			public static String  type5="5";
		}
		
		public static interface accountType
		//用户类型（1、正常；2、匿名）
		{
			public static int type1=1;
			public static int type2=2;
		}
		
		public static interface columnType
		//用户类型（5、订阅；6、取消订阅）
		{
			public static String type5="5";//订阅
			public static String type6="6";//取消订阅
		}
		
		public static String columnPids="1";
		
		public static String sysid_changjiangxinwen="1";
	}
}
